﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="S_BookTickekt.aspx.cs" Inherits="JTicket.UI.S_BookTickekt" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script src="My97DatePicker/WdatePicker.js" type="text/javascript"></script>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table align="center" cellpadding="4" cellspacing="1" border="1" width="100%" class="toptable grid fixed">
        <tr>
            <td height="25" class="category t2" style="width: 716px">
                预留解锁查询
            </td>
            <td height="25" class="category">
                [提示：双击行显示详细]
            </td>
        </tr>
    </table>
    <table width="100%" border="0" bordercolordark="#3890B5" bordercolorlight="#6591BE"
        align="center" cellpadding="1" cellspacing="1">
        <tr>
            <td align="center" bgcolor="#3890B5" style="height: 12px">
                <span class="B"></span>
            </td>
            <td align="center" bgcolor="#3890B5" style="height: 12px; width: 150px;">
                <span class="B"></span>
            </td>
        </tr>
        <tr>
            <td align="left" bgcolor="#f6f6f6" colspan="2">
                <table align="center" border="0" bordercolordark="#3890b5" bordercolorlight="#6591be"
                    cellpadding="1" cellspacing="1" width="100%">
                    <tr>
                        <td align="center" bgcolor="#f6f6f6" height="25" style="text-align: left;">
                            销售日期：<asp:TextBox ID="txtBeginTime" runat="server" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
                                Width="180px" AutoPostBack="True" OnTextChanged="txtBeginTime_TextChanged"></asp:TextBox>至：<asp:TextBox
                                    ID="txtEndTime" runat="server" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})"
                                    Width="180px" AutoPostBack="True" OnTextChanged="txtEndTime_TextChanged"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" bgcolor="#f6f6f6" height="25" style="text-align: left" colspan="1">
                            演出列表：<asp:DropDownList ID="DropDownList1" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                </table>
                <table align="center" border="0" bordercolordark="#3890b5" bordercolorlight="#6591be"
                    cellpadding="1" cellspacing="1" width="100%">
                    <tr>
                        <td align="center" bgcolor="#f6f6f6" height="25" colspan="2" style="text-align: left">
                            <asp:Button CssClass="submitMiniGreen" ID="Button1" runat="server" Text="查  询" OnClick="Button1_Click" />
                            &nbsp; &nbsp;
                            <asp:Button CssClass="submitMiniGreen" ID="Button2" runat="server" Text="解  锁" OnClientClick="return confirm('你确定要解锁该订单！');"
                                OnClick="Button2_Click" />
                            &nbsp; &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td align="center" bgcolor="#f6f6f6" colspan="2">
                            &nbsp;<asp:DataGrid ID="dg1" runat="server" AutoGenerateColumns="False" CellPadding="0"
                                OnItemDataBound="dg1_ItemDataBound" PageSize="20" Width="100%">
                                <HeaderStyle BackColor="#3890B5" Height="25px" HorizontalAlign="Center" />
                                <ItemStyle BackColor="#F6F6F6" Height="25px" HorizontalAlign="Center" />
                                <Columns>
                                    <asp:TemplateColumn HeaderText="选   择">
                                        <ItemTemplate>
                                            <asp:CheckBox ID="CheckBox1" name="YX_CH" runat="server" ToolTip='<%#DataBinder.Eval(Container.DataItem,"演出编号")%>' />
                                        </ItemTemplate>
                                        <HeaderStyle CssClass="B" />
                                    </asp:TemplateColumn>
                                    <asp:BoundColumn HeaderText="订单号" DataField="订单号" HeaderStyle-CssClass="B"></asp:BoundColumn>
                                    <asp:BoundColumn HeaderText="客户名称" DataField="客户名称" HeaderStyle-CssClass="B"></asp:BoundColumn>
                                    <asp:BoundColumn HeaderText="联系电话" DataField="联系电话" HeaderStyle-CssClass="B"></asp:BoundColumn>
                                    <asp:BoundColumn HeaderText="演出名称" DataField="演出名称" HeaderStyle-CssClass="B"></asp:BoundColumn>
                                    <asp:TemplateColumn HeaderText="演出名称">
                                        <ItemTemplate>
                                            <%# DataBinder.Eval(Container.DataItem, "演出名称")%>
                                        </ItemTemplate>
                                        <HeaderStyle CssClass="B" />
                                    </asp:TemplateColumn>
                                    <asp:TemplateColumn HeaderText="剧院名称">
                                        <ItemTemplate>
                                            <%# DataBinder.Eval(Container.DataItem, "剧院名称")%>
                                        </ItemTemplate>
                                        <HeaderStyle CssClass="B" />
                                    </asp:TemplateColumn>
                                    <asp:TemplateColumn HeaderText="售票员">
                                        <ItemTemplate>
                                            <%# DataBinder.Eval(Container.DataItem, "售票员")%>
                                        </ItemTemplate>
                                        <HeaderStyle CssClass="B" />
                                    </asp:TemplateColumn>
                                    <asp:TemplateColumn HeaderText="预留日期">
                                        <ItemTemplate>
                                            <%# DataBinder.Eval(Container.DataItem, "预留日期")%>
                                        </ItemTemplate>
                                        <HeaderStyle CssClass="B" />
                                    </asp:TemplateColumn>
                                    <asp:TemplateColumn HeaderText="预留时间">
                                        <ItemTemplate>
                                            <%# DataBinder.Eval(Container.DataItem, "预留时间")%>
                                        </ItemTemplate>
                                        <HeaderStyle CssClass="B" />
                                    </asp:TemplateColumn>
                                </Columns>
                                <PagerStyle Visible="False" />
                            </asp:DataGrid>
                        </td>
                    </tr>
                    </table>
            </td>
        </tr>
    </table>
</asp:Content>
